<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="struts" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title><struts:property value="title" escape="false"/></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">

  </head>
  
  <body>
    <table>
    	<tr>
    		<th>书名</th>
    		<th>作者</th>
    		<th>出版日期</th>
    	</tr>
    	<struts:iterator id="book" value="booklist">
	    	<tr>
	    		<td>${book.name }</td>
	    		<td>${book.author }</td>
	    		<td>${book.publisedDate }</td>
	    	</tr>
    	</struts:iterator>
    </table>
  </body>
</html>
